//
//  MyCollectionViewCell.swift
//  ZNZXSuperMarket
//
//  Created by 四川中农 on 2018/7/31.
//  Copyright © 2018年 四川中农. All rights reserved.
//

import UIKit

class MyCollectionViewCell: UICollectionViewCell {
    
    @IBOutlet weak var img: UIImageView!
    @IBOutlet weak var titleLabel: UILabel!
    
    
    func changeContent(imgName:String,title:String){
        self.img.image = UIImage.init(named: imgName)
        self.titleLabel.text = title
    }
}
